<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>主页</title>
<script type="text/javascript">
	 function zhuxiao() {
		window.location="login.jsp"
	}
	 
</script>
<style type="text/css">
 	
</style>
<style type="text/css">
.btn {
      position: absolute;
      transform: translate(58px, 0px);  /*更改button位置 */
      width: 150px;   /*button宽*/
      height: 60px;  /* button高*/
      line-height: 60px;   /*button文字位置，和height一样是在中间*/
      text-align: center;
      color: #fff;
      font-size: 24px; /*设置button中文字大小 */
      text-transform: uppercase;
      text-decoration: none;
      font-family: sans-serif;
      box-sizing: border-box;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 60px;	/*设置button四角弧度*/
      z-index: 1;
    }
    
    .btn:hover {
      animation: animate 8s linear infinite;
    }
    
    @keyframes animate {
      0% {
        background-position: 0%;
      }
      100% {
        background-position: 400%;
      }
    }
    
    .btn::before {
      content: '';
      position: absolute;
      top: -5px;
      left: -5px;
      right: -5px;
      bottom: -5px;
      z-index: -1;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 40px;
      opacity: 0;
      transition: 0.5s;
    }
    
    .btn:hover::before {
      filter: blur(20px);
      opacity: 1;
      animation: animate 8s linear infinite;
    }
    </style>
<style type="text/css">
	body {
		background-image: url(image/005.jpg);
		 background-attachment: fixed"
	}

	p,button{
		position:relative;
		left:630px;
		height: 40px;
	}
	
	table{
		
  		border-collapse: collapse;
		margin: auto; <!--居中-->	
  }

	table, td, th{
  		border:1px solid black;
  		text-align:center;
 		border:0px solid #a1a1a1;	/*表格边线 */
		background:#00FFFF;
		width:300px;
		border-radius:30px;	
		height: 50px;		
  }	
  
* {
	margin:0;
	padding:0;
}
.login-now {
	margin-top:50px;
	margin-left: 680px;
}
.login-now li {
	list-style-type:none;
	margin:30px;
}
.login-now li a {
	text-decoration:none;
	color:FFFFF0;
	transition:0.3s;
}
.login-now li a:hover {
	font-size:50px;
	color:red;
}
</style>
</head>
<body>
<p>欢迎你：${user.name} ${stu.name}</p>

<div class="login-now">
    <ul>
        <li><a href="banji?method=list2"">班级管理</a></li>
        <li><a href="course">课程管理</a></li>
        <li><a href="teacher">教师管理</a></li>
        <li><a href="xuesheng">学生管理</a></li>
        <li><a href="grade?method=personGrade">个人成绩管理</a></li>
        <li><a href="grade?method=ClassGrade">班级成绩管理</a></li>
        <li><a href="grade?method=allStudentGrade">成绩查询</a></li>
        <li><a href="password?method=teacherPassword">修改密码</a></li>
    </ul>
</div>


<!-- <div> -->
<!-- 	<table border="1" > -->
<!-- 		<tr> -->
<!-- 			<td><a href="banji?method=list2">班级管理</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="course">课程管理</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="teacher">教师管理</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="xuesheng">学生管理</a></tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="grade?method=personGrade">个人成绩管理</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="grade?method=ClassGrade">班级成绩管理</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 		<td><a href="grade?method=allStudentGrade">成绩查询</a></td> -->
<!-- 		</tr> -->
<!-- 		<tr> -->
<!-- 			<td><a href="password?method=teacherPassword">修改密码</a></td> -->
<!-- 		</tr> -->
<!-- 	</table> -->
	<button onclick="zhuxiao()" class="btn">注销</button>	
	
<!-- </div> -->

</body>
</html>